vars = [34,56,73,45,67,3]

for i in range(0,len(vars)-1):
    for j in range(i+1,len(vars)):
        if vars[i] > vars[j]:
            vars[i],vars[j] = vars[j],vars[i]

print vars
